#!/bin/bash

system_url=/etc/rc.local
res_url=/home/sietium/env/reboot_num.txt
file=$(cd "$(dirname "$0")";pwd)

sudo cp ${file}/reboot3.sh ${system_url}
> ${res_url}
shutdown -r now
